package com.topone.Form;

import lombok.Data;
import lombok.Getter;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2018/1/24,0024.
 */
@Data
public class CouponOrderForm {

    @NotEmpty(message = "优惠券id不为空")
    private String couponId;

    @NotEmpty(message = "优惠券数量不为空")
    private String couponNum;

    @NotEmpty(message = "openid不为空")
    private String buyerOpenid;

    @NotEmpty(message = "手机号码不为空")
    private String buyerPhone;

    @NotEmpty(message = "买家姓名不为空")
    private String buyerName;

    @NotEmpty(message = "优惠券单价不为空")
    private String couponPrice;

    @NotEmpty(message = "总价不为空")
    private String orderAmount;

    public String getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getCouponNum() {
        return couponNum;
    }

    public void setCouponNum(String couponNum) {
        this.couponNum = couponNum;
    }

    public String getBuyerOpenid() {
        return buyerOpenid;
    }

    public void setBuyerOpenid(String buyerOpenid) {
        this.buyerOpenid = buyerOpenid;
    }

    public String getBuyerPhone() {
        return buyerPhone;
    }

    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public String getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(String couponPrice) {
        this.couponPrice = couponPrice;
    }
}
